package com.yb.xczx.cloud.resourse.config;

import com.yb.core.web.annotation.EnableWebCore;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.web.client.RestTemplate;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/16 14:39
 * FileName: HttpConfig
 * Description:
 */
@Configuration
@EnableWebCore
public class HttpConfig {


    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
